package com.ruoyi.worker.mapper.v2;

import com.ruoyi.worker.domain.v2.RzAttendanceMonthActualWorkVO;
import com.ruoyi.worker.domain.v2.RzAttendanceSumMonthDetailVO;
import com.ruoyi.worker.domain.v2.RzAttendanceSumMonthVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RzAttendanceSumMonthMapper {

    /**
     * @author: 陈宇寰
     * @date: 2022-01-05 15:20:26
     * @params:
     * @return:
     * @description: 月考勤首页数据
     */
    List<RzAttendanceSumMonthVO> sumMonthDatas(RzAttendanceSumMonthVO params);

    /**
     * @author: 陈宇寰
     * @date: 2022-01-05 15:55:50
     * @params:
     * @return:
     * @description: 异常查看
     */
    List<RzAttendanceSumMonthVO> invalidDates(RzAttendanceSumMonthVO params);


    /**
     * @author: 陈宇寰
     * @date: 2022-01-06 13:45:35
     * @params:
     * @return:
     * @description: 月考勤详情
     */
    List<RzAttendanceSumMonthDetailVO> sumMonthDetail(@Param("startDate") String startDate, @Param("endDate") String endDate,
                                                      @Param("deptId") String deptId, @Param("staffName") String staffName,
                                                      @Param("idCard") String idCard, @Param("groupName") String groupName,
                                                      @Param("stationName") String stationName);


    /**
     * @author: 陈宇寰
     * @date: 2022-01-06 16:00:28
     * @params:
     * @return:
     * @description: 实际出勤结果
     */
    List<RzAttendanceMonthActualWorkVO> actualWorkResult(@Param("startDate") String startDate, @Param("endDate") String endDate,
                                                         @Param("deptId") String deptId);


}
